import axios from '../index.js'

// 获取主页数据
const getHomeDataApi = (data) => axios('http://192.144.206.29/api.html', 'POST', data)

// 获取商品详情
const getGoodsDetailApi = (data) => axios('http://192.144.206.29/api.html', 'POST', data)


// 收藏商品
const collectionApi = (data) => axios('http://192.144.206.29/api.html', 'POST', data)

// 获取收藏的商品
const getCollectionApi = (data) => axios('http://192.144.206.29/api.html', 'POST', data)

// 获取分类侧边导航
const getCategoryApi = (data) => axios('http://192.144.206.29/api.html', 'POST', data)

// 获取购物车lie'biao
const getShopCartApi = (data) => axios('http://192.144.206.29/api.html', 'POST', data)

const serviceApi = (data) => axios('http://192.144.206.29/api.html', 'POST', data)


export {
	getHomeDataApi,
	getGoodsDetailApi,
	collectionApi,
	getCollectionApi,
	getCategoryApi,
	getShopCartApi,
	serviceApi
}
